<template>
  <div>
    <BarChart :xlabel="xlabel" :data="data"/>
  </div>
</template>

<script>
import BarChart from '@/components/Charts/BarChart'
import { reactive } from 'vue'
export default {
  components:{BarChart},
  setup(){
    const xlabel = reactive(['星期一','星期二','星期三','星期四','星期五','星期六','星期日'])
    const data = reactive([10, 52, 200, 334, 390, 330, 220])

    return {xlabel,data}
  }
}
</script>

<style>

</style>